package cn.dark.auth.core.tokengenerate;

/**
 * @author dark
 * @date 2023-10-26
 */
public interface TokenGenerator {

    /**
     * 生成token
     *
     * @param loginId
     * @param device
     * @return
     */
    String generateToken(Object loginId, String device);

}
